Repository navigation
Conversation
…3375) The diff compared fee_period as a raw string, but the legs use different vocabularies for the same fact: the plan-store Effect schema only admits monthly/yearly/once, while the tracker says month/year. Since #1270 slice 2 seeded the store, every daily diff reported 9 fee_period findings that were pure vocabulary noise. Normalise the store leg to the tracker vocabulary in load_store (monthly->month, yearly->year); values outside the map (e.g. once) pass through untouched, so a genuinely new period still reports drift. The fixture masked this: its hand-written store row used month, a value the real store schema rejects. The fixture now carries monthly (the real store value), so the agreeing-legs case proves no drift, and a new case proves a genuine mismatch (monthly vs year) is still caught with the plan-store named as winner. Failing-first: the agreeing-legs case failed pre-fix with a fee_period finding {plan-store: monthly, tracker: month}.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 49 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Batch A disposition (lane code-i, task 21622): SUPERSEDED — closing without merge. Main already landed the same issue (#13375) more generally as 0784f18062540 ('fix(quota-plane): canonicalise fee_period vocabulary in reconcile.py diff'). Comparison on a worktree off origin/main:
Codex review on this PR's head: no findings. No action needed from the author; the design intent is live on main. |
Closes #13375.
Summary
The daily reconciliation diff compared
fee_periodas a raw string, but the legs use different vocabularies for the same fact: the plan-store Effect schema only admitsmonthly/yearly/once, while the tracker saysmonth/year. Since #1270 slice 2 seeded the store, every daily diff reported 9fee_periodfindings that were pure vocabulary noise, burying any real drift. The store leg is now normalised to the tracker vocabulary inload_store(monthly→month,yearly→year); values outside the map (e.g.once) pass through untouched, so a genuinely new period still reports drift.Evidence
{'plan': 'go-personal', 'field': 'fee_period', 'values': {'plan-store': 'monthly', 'tracker': 'month'}, 'winner': 'plan-store'}— and passes after the fix.month, a value the real store schema rejects. It now carriesmonthly(the real store value), so the agreeing-legs case proves no drift, and a new case proves a genuine mismatch (monthlyvsyear) is still caught with the plan-store named as winner.fleet queue dispatchis still blocked by TLS fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185, invalid peer certificate): run https://github.com/developing-today/fleet/actions/runs/45203450530, conclusion success,cd pm-stack/provider-usage && python3 test_reconcile.py—all reconcile fixture tests pass.Merge Danger
Low. One mapping table plus one fixture-value change, confined to the quota-plane reconciliation script. The only diffs that disappear are the vocabulary-noise
fee_periodrows; genuine period mismatches are covered by the new fixture case.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.